export interface CreateOrUpdateUsersRequestData {
  id?: string
  userName: string
  password?: string
  name: string
  phone: string
  gender: number
  email: string
  avatar: string
  age: number
}

export interface GetUsersRequestData {
  /** 当前页码 */
  pageNum: number
  /** 查询条数 */
  pageSize: number
  /** 查询参数：用户名 */
  userName?: string
  /** 查询参数：手机号 */
  phone?: string
}

export interface GetUsersData {
  userName: string
  avatar: string
  name: string
  id: string
  phone: string
  password: string
  gender: number
  email: string
  age: number
}

export type GetUsersResponseData = ApiResponseData<{
  rows: GetUsersData[]
  total: number
}>
